Skip to content

Commit

Permalink
adding summernote in blog create
Browse files Browse the repository at this point in the history
  • Loading branch information
sharbel93 committed Jan 7, 2019
1 parent fa48991 commit a78f4cd
Show file tree
Hide file tree
Showing 120 changed files with 84,592 additions and 107 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Intervention\Image\ImageManagerStatic as Image;
use Auth;
use Purifier;
use Session;
use Illuminate\Http\Request;

class PostController extends Controller
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"laravel/tinker": "^1.0",
"laravelcollective/html": "^5.7",
"mews/purifier": "^2.1",
"nicolaslopezj/searchable": "^1.10",
"santigarcor/laratrust": "5.0.*",
"twbs/bootstrap": "4.1.3"
},
Expand Down
48 changes: 47 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 29 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
},
"dependencies": {
"animate.css": "^3.7.0",
"dropzone": "^5.5.1",
"parsleyjs": "^2.8.1",
"select2": "^4.0.6-rc.1",
"toastr": "^2.1.4"
"toastr": "^2.1.4",
"vue-avatar-editor": "^1.0.4",
"vue-croppa": "^1.3.8"
}
}
Binary file modified public/Thumbs.db
Binary file not shown.
2 changes: 1 addition & 1 deletion public/admin/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,7 @@ ul.two-part-sp li{
width: 100%;
}
.product-status-wrap table th {
padding: 20px 5px;
padding: 10px 5px;
vertical-align: top;
border-top: 1px solid #e9ecef;
}
Expand Down
18,315 changes: 18,312 additions & 3 deletions public/css/app.css

Large diffs are not rendered by default.

Binary file modified public/images/Thumbs.db
Binary file not shown.
Binary file modified public/images/intro.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/xmas.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58,658 changes: 58,657 additions & 1 deletion public/js/app.js

Large diffs are not rendered by default.

Binary file added public/js/font/summernote.eot
Binary file not shown.
Binary file added public/js/font/summernote.ttf
Binary file not shown.
Binary file added public/js/font/summernote.woff
Binary file not shown.
156 changes: 156 additions & 0 deletions public/js/lang/summernote-ar-AR.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
(function($) {
$.extend($.summernote.lang, {
'ar-AR': {
font: {
bold: 'عريض',
italic: 'مائل',
underline: 'تحته خط',
clear: 'مسح التنسيق',
height: 'إرتفاع السطر',
name: 'الخط',
strikethrough: 'فى وسطه خط',
subscript: 'مخطوطة',
superscript: 'حرف فوقي',
size: 'الحجم'
},
image: {
image: 'صورة',
insert: 'إضافة صورة',
resizeFull: 'الحجم بالكامل',
resizeHalf: 'تصغير للنصف',
resizeQuarter: 'تصغير للربع',
floatLeft: 'تطيير لليسار',
floatRight: 'تطيير لليمين',
floatNone: 'ثابته',
shapeRounded: 'الشكل: تقريب',
shapeCircle: 'الشكل: دائرة',
shapeThumbnail: 'الشكل: صورة مصغرة',
shapeNone: 'الشكل: لا شيء',
dragImageHere: 'إدرج الصورة هنا',
dropImage: 'إسقاط صورة أو نص',
selectFromFiles: 'حدد ملف',
maximumFileSize: 'الحد الأقصى لحجم الملف',
maximumFileSizeError: 'تم تجاوز الحد الأقصى لحجم الملف',
url: 'رابط الصورة',
remove: 'حذف الصورة',
original: 'Original'
},
video: {
video: 'فيديو',
videoLink: 'رابط الفيديو',
insert: 'إدراج الفيديو',
url: 'رابط الفيديو',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
},
link: {
link: 'رابط رابط',
insert: 'إدراج',
unlink: 'حذف الرابط',
edit: 'تعديل',
textToDisplay: 'النص',
url: 'مسار الرابط',
openInNewWindow: 'فتح في نافذة جديدة'
},
table: {
table: 'جدول',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'إدراج خط أفقي'
},
style: {
style: 'تنسيق',
p: 'عادي',
blockquote: 'إقتباس',
pre: 'شفيرة',
h1: 'عنوان رئيسي 1',
h2: 'عنوان رئيسي 2',
h3: 'عنوان رئيسي 3',
h4: 'عنوان رئيسي 4',
h5: 'عنوان رئيسي 5',
h6: 'عنوان رئيسي 6'
},
lists: {
unordered: 'قائمة مُنقطة',
ordered: 'قائمة مُرقمة'
},
options: {
help: 'مساعدة',
fullscreen: 'حجم الشاشة بالكامل',
codeview: 'شفيرة المصدر'
},
paragraph: {
paragraph: 'فقرة',
outdent: 'محاذاة للخارج',
indent: 'محاذاة للداخل',
left: 'محاذاة لليسار',
center: 'توسيط',
right: 'محاذاة لليمين',
justify: 'ملئ السطر'
},
color: {
recent: 'تم إستخدامه',
more: 'المزيد',
background: 'لون الخلفية',
foreground: 'لون النص',
transparent: 'شفاف',
setTransparent: 'بدون خلفية',
reset: 'إعادة الضبط',
resetToDefault: 'إعادة الضبط',
cpSelect: 'اختار'
},
shortcut: {
shortcuts: 'إختصارات',
close: 'غلق',
textFormatting: 'تنسيق النص',
action: 'Action',
paragraphFormatting: 'تنسيق الفقرة',
documentStyle: 'تنسيق المستند',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'تراجع',
redo: 'إعادة'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);
3 changes: 3 additions & 0 deletions public/js/lang/summernote-ar-AR.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a78f4cd

Please sign in to comment.